﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ModelLayer;
using DBLayer;

namespace WcfTicketsLibrary
{
   public class SeatService : ISeat
    {
        public SeatService()
        {
            //Empty
        }

       public Seat GetSeat(int SeatId)
        {
            Seat seat = new DBSeat().GetSeat(SeatId);
            return seat;
        }

       public List<Seat> GetAllSeats()
       {
           List<Seat> seats = new DBSeat().GetAllSeats();
           return seats;
         
       }
    }
}
